<?php
namespace Tyrone\Model;
use Medoo\Medoo;

class Order extends Base
{
    protected $table = 'l_order_log';

    public function updateOrderStatus($orderId, $status)
    {
        return $this->database->update($this->table,['status'=>$status],[
            'order' => $orderId
        ]);
    }
}